﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DDTek.Oracle;
using System.Data;

namespace ConsoleApp
{
    public class OracleDDTek
    {
        public static void Insert()
        {
            //string strConn = "Host=127.0.0.1;Port=1521;User ID=GIS_DMZ_DB;Password=123456;Service Name=CTMS";
            //var conn = new OracleConnection(strConn);


            //var cmd = conn.CreateCommand();
            //var para = cmd.CreateParameter();



            //try
            //{
            //    int res = Dapper.SqlMapper.Execute(conn, "insert into Person(id,name,age)values(@id,@name,@age)", new { id = 100, name = "xiaoqiang", age = 20 });
            //}
            //catch (Exception ex)
            //{


            //}


        }
      
    }
}
